package com.rich.group.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author minicoco
 * @version 1.0
 * @date 2021/8/16 10:33
 */
@Data
public class GroupJoin implements Serializable {

    private Long id;

    /**
     * 参团活动id
     */
    private Long groupId;

    /**
     * 参与用户id
     */
    private Long userId;
    /**
     * 参团时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date joinTime;

}
